home *** CD-ROM | disk | FTP | other *** search
- echo off
- if '%1' == '' goto NO_PARMS
- goto OK
- :NO_PARMS
- echo USAGE: BTCOPY source_file dest_file
- goto END
- :OK
- rem
- rem 'O' to choose cOpy on opening menu, %1 the source file, '!' for ENTER,
- rem %2 for the destination file, '!' for ENTER (3 times) and '###'
- rem for ESC's.
- rem
- rem Remember that if more than one person on a network are using this, a
- rem temporary file with a unique file name should be created.
- rem
- echo C%1!%2!!!### >btcopy.txt
- btfiler /k:btcopy.txt
- del btcopy.txt
- :END